/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.vasthu.api.dao;

import com.vasthu.api.domain.Bill;
import java.sql.Connection;
import java.util.List;

/**
 *
 * @author moremada
 */
public interface BillDAO {

    public boolean insertBill(Bill bill);

    public Bill getBillById(long billId, int status);

    public boolean deleteBillById(long billId);
    
    public boolean updateTotal(Bill bill);
    
    public List<Bill> getBillByUserIdAndState(long userId, int status);

    public List<Bill> getAllBills();
}
